package com.unipay.spring.dao;

/**
 * @BelongsProject: SSM
 * @Author: cmy
 * @CreateTime: 2023-01-18  10:01
 * @Description: TODO
 */
public interface BookDao {

//    void buyBook(Integer bookId, Integer userId);

    Integer getPriceByBookId(Integer bookId);

    void updateStock(Integer bookId);

    void updateBalance(Integer userId, Integer price);
}
